/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.andersen.database.entity;

/**
 *
 * @author Corvus 11
 */
public class OfficeEntity {
    
    private long id;
    
    private String name;
    
    private String location;
    
    private String address;
    
    private long managerId;
    
    private EmployeeEntity manager;

    private boolean deleted;
    
    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public long getManagerId() {
        return managerId;
    }

    public void setManagerId(long managerId) {
        this.managerId = managerId;
    }

    public EmployeeEntity getManager() {
        return manager;
    }

    public void setManager(EmployeeEntity manager) {
        this.manager = manager;
    }

    public boolean isDeleted() {
        return deleted;
    }

    public void setDeleted(boolean deleted) {
        this.deleted = deleted;
    }

    @Override
    public String toString() {
        return "OfficeEntity{" + "id=" + id + 
                ", name=" + name + 
                ", location=" + location + 
                ", address=" + address + 
                ", managerId=" + managerId + 
                ", manager=" + manager + 
                ", deleted=" + deleted + '}';
    }
    
    
}
